﻿package  {
	
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	import flash.events.DataEvent;
	import com.up360.rapidcalc.common.events.RapidCalcEvent;
	
	public class Game extends MovieClip {
		
		
		public function Game() {
			// constructor code
			
		}
		public function playGame(obj:Object):void{
			for(var o:Object in obj){
				trace(o,":",obj[o]);
			}
			btn.addEventListener(MouseEvent.CLICK,btnClick);
		}
		private function btnClick(e:MouseEvent):void{
			var b_evt:RapidCalcEvent=new RapidCalcEvent(RapidCalcEvent.ALERT,{title:"标题",msg:"提示的内容"},false,false);
			dispatchEvent(b_evt);
		}
	}
	
}
